package com.cloudcc.mobile.service;

import com.cloudcc.mobile.dao.ChatUserDao;
import com.cloudcc.mobile.dao.impl.ChatUserDaoImpl;

public class ChatUserService {
	private ChatUserDao dao = new ChatUserDaoImpl();

	/**
	 * 获取信息
	 * 
	 * @return
	 * @throws Exception
	 */
	public String getUserInfo(String userId) throws Exception {
		return dao.getUserInfo(userId);
	}

	public String getMeUserInfo(String id) throws Exception {
		return dao.getMEUserInfo(id);
	}

	/**
	 * 修改信息
	 */
	public String updateUserInfo(String data) throws Exception {
		return dao.updateUserInfo(data);
	}
}
